<?php

namespace App\Models;

use Dcat\Admin\Traits\HasDateTimeFormatter;
use Illuminate\Database\Eloquent\SoftDeletes;
use Illuminate\Database\Eloquent\Model;

class OrgDepartmentOwner extends Model
{
	use HasDateTimeFormatter;

    protected $table = 'org_department_owner';

    public function username()
    {
        return $this->hasOne(AdminUser::class, 'id', 'owner_uid');
    }
}
